<%@ page language="java" contentType="text/html; charset=utf-8" import="net.fckeditor.*"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<script src="../../js/check.js"></script>
<link rel="stylesheet" type="text/css" href="/hykj/css/header.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script type="text/javascript">
	function FCKeditor_OnComplete(editorInstance) {
		window.status = editorInstance.Description;
	}
</script>

</head>
<%
	FCKeditor fckEditor = new FCKeditor(request, "introduction");
	fckEditor.setWidth("800");
	fckEditor.setHeight("400");
%>
<body>
<center>
<jsp:include page = "/admin/head.jsp" />
<table width="944">
	<tr>
		<td width="744" height="120" align="left" valign="top">


		<form action="insertProduct" method="post"
			enctype="multipart/form-data" name="form" onsubmit="return checkForm(this)">
		<table width="744" border="0">
			<tr>
				<td width="100" height="20">是否首页显示:</td>
				<td>
					<select title="是否首页显示" name="front">
						<option value="0">否</option>
						<option value="1">是</option>
					</select>
				</td>
			</tr>
			<tr>
				<td width="100" height="20"><b>游戏名称:</b></td>
				<td><input title="游戏名称" name="title" type="text" maxlength="50"></input></td>
			</tr>
			<tr>
				<td width="100" height="20"><b>首页图片地址：</b></td>
				<td id="more"><input title="首页图片地址" name="indexDir" type="file" maxlength="20"></td>
			</tr>
			<tr>
				<td width="100" height="20"><b>GIF图片地址：</b></td>
				<td id="more"><input title="GIF图片地址" name="gifDir" type="file" maxlength="20"></td>
			</tr>
			<tr>
				<td width="100" height="20"><b>大图图片地址：</b></td>
				<td id="more"><input title="大图图片地址" name="bigDir" type="file" maxlength="20"></td>
			</tr>
			<tr>
				<td width="100" height="20"><b>游戏类型：</b></td>
				<td width="434"><input title="游戏类型" name="argument" type="text"
					maxlength="50"></td>
			</tr>
			<tr>
				<td width="75" height="20"><b>类别:</b></td>
				<td width="434"><select title="类别" name="category">
					<option value="0">java</option>
					<option value="1">Symbian</option>
					<option value="2">iPhone </option>
					<option value="3">Android</option>
				</select></td>
			</tr>
			<tr>
				<td width="100" height="20"><b>简单描述:</b></td>
				<td><textarea title="简单描述" name="describes" wrap="physical" rows="3" cols="50"></textarea></td>
			</tr>
			
			
			<tr>
				<td width="434" colspan = "2" align="left">
				<b>详细说明：</b><br></br>
				<%
					fckEditor.setValue("");
					out.println(fckEditor);
				%> <br />
				</td>
			</tr>

			


			<tr>
				<td height="20">&nbsp;</td>
				<td><input type="submit" name="Submit" value="上传">
				&nbsp;&nbsp; <input type="reset" name="Submit2" value="重置">
				</td>
			</tr>
		</table>
		</form>
		
		</td>
		<td width="200"></td>
	</tr>
</table>
<jsp:include page = "/admin/foot.jsp" />
</center>
</body>
</html>